package org.imdm.portal.mdmer;

import org.imdm.portal.util.StringValueComparator;

public class FirstNameComparator extends StringValueComparator {

	public FirstNameComparator(boolean asc) {
		super(asc);
	}

	protected String getStringValue(Object o) {
		java.util.Map.Entry entry = (java.util.Map.Entry)o;
		Mdmer mdmer = (Mdmer)entry.getValue();
		return (null == mdmer) ? "" : mdmer.getFirstName();
	}
	
}